<?php 
	class Session {
		public function setVar($key, $value){
			$_SESSION[$key] = $value;
		}
		public function getVar($key, $default=null){
			if(array_key_exists($key, $_SESSION)){
				return $_SESSION[$key];
			}else{
				return $default;
			}
		}
	}